package com.bingxue.edu.common.enums;

import com.bingxue.edu.framework.enums.Dict;
import com.bingxue.edu.framework.enums.DictEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import com.mybatisflex.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 支付方式
 *
 * @author panbo
 * @since 2024/8/1
 */
@Getter
@AllArgsConstructor
@Dict("支付方式")
public enum PayTypeEnum implements DictEnum<String> {
    OFFLINE("OFFLINE", "线下", "#2db7f5"),
//    WECHAT("WECHAT", "微信", "#87d068"),
//    ALIPAY("ALIPAY", "支付宝", "#108ee9"),
    FUIOU("FUIOU", "线上", "#108ee9");


    @EnumValue
    @JsonValue
    private final String value;
    private final String label;
    private final String color;
}
